package com.itheima.service;

import com.itheima.pojo.Families;
import com.itheima.pojo.Member;

import java.util.List;

public interface MemberService {
    Member findByTelephone(String telephone);

    void add(Member member);

    List<Families> findFamiliesByMemberId(Integer member_id);

    Member findById(Integer id);

    void update(Member member);

    List<Integer> findMemberCountByMonths(List<String> months);

    Member findMemByEMeilAndPsw(String checkmember, String password);

    Member findMemByIDCAndPsw(String checkmember, String password);

    Member findMemByPhoneAndPsw(String checkmember, String password);
}
